/*
 *  $Id: Resolvers.cs 1218 2010-11-28 14:03:06Z thenn.erannor $
 *	This file is a part of Ragima CCG.
 *	(C) 2008-2010 Ragima development group.
 *
 *	Licensed under the terms of the GNU GPL License version 2.
 *
 */

using Nereal.Serialization;

namespace Ragima.Serialization {
    public static class Resolvers {
        public const string CardId = "card_id";
        public const string GamePlayer = "game_player";
        public const string GameObject = "game_object";
        public const string GameCreature = "game_creature";
        public const string GameLand = "game_land";

        public const string CursorId = "cursor_id";

        public static void Register(Serializer serializer) {
            serializer.Resolvers.Add(CardId, new CardIdResolver());
            serializer.Resolvers.Add(GamePlayer, new PlayerGameResolver());
            serializer.Resolvers.Add(GameObject, new ObjectGameResolver());
            serializer.Resolvers.Add(GameCreature, new CreatureGameResolver());
            serializer.Resolvers.Add(GameLand, new LandGameResolver());
            serializer.Resolvers.Add(CursorId, new Ragima.UI.Cursor.IdResolver());
        }
    }
}
